Integrand size = 25, antiderivative size = 127 \[ \int \frac {(a+a \sin (c+d x))^4}{(e \cos (c+d x))^{7/2}} \, dx=\frac {42 a^4 \sqrt {e \cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{5 d e^4 \sqrt {\cos (c+d x)}}+\frac {4 a^7 (e \cos (c+d x))^{7/2}}{5 d e^7 (a-a \sin (c+d x))^3}-\frac {28 a^8 (e \cos (c+d x))^{3/2}}{5 d e^5 \left (a^4-a^4 \sin (c+d x)\right )} \]
[Out]
Time = 0.14 (sec) , antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {2749, 2759, 2721, 2719} \[ \int \frac {(a+a \sin (c+d x))^4}{(e \cos (c+d x))^{7/2}} \, dx=\frac {4 a^7 (e \cos (c+d x))^{7/2}}{5 d e^7 (a-a \sin (c+d x))^3}+\frac {42 a^4 E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {e \cos (c+d x)}}{5 d e^4 \sqrt {\cos (c+d x)}}-\frac {28 a^8 (e \cos (c+d x))^{3/2}}{5 d e^5 \left (a^4-a^4 \sin (c+d x)\right )} \]
[In]
[Out]
Rule 2719
Rule 2721
Rule 2749
Rule 2759
Rubi steps \begin{align*} \text {integral}& = \frac {a^8 \int \frac {(e \cos (c+d x))^{9/2}}{(a-a \sin (c+d x))^4} \, dx}{e^8} \\ & = \frac {4 a^7 (e \cos (c+d x))^{7/2}}{5 d e^7 (a-a \sin (c+d x))^3}-\frac {\left (7 a^6\right ) \int \frac {(e \cos (c+d x))^{5/2}}{(a-a \sin (c+d x))^2} \, dx}{5 e^6} \\ & = \frac {4 a^7 (e \cos (c+d x))^{7/2}}{5 d e^7 (a-a \sin (c+d x))^3}-\frac {28 a^6 (e \cos (c+d x))^{3/2}}{5 d e^5 \left (a^2-a^2 \sin (c+d x)\right )}+\frac {\left (21 a^4\right ) \int \sqrt {e \cos (c+d x)} \, dx}{5 e^4} \\ & = \frac {4 a^7 (e \cos (c+d x))^{7/2}}{5 d e^7 (a-a \sin (c+d x))^3}-\frac {28 a^6 (e \cos (c+d x))^{3/2}}{5 d e^5 \left (a^2-a^2 \sin (c+d x)\right )}+\frac {\left (21 a^4 \sqrt {e \cos (c+d x)}\right ) \int \sqrt {\cos (c+d x)} \, dx}{5 e^4 \sqrt {\cos (c+d x)}} \\ & = \frac {42 a^4 \sqrt {e \cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{5 d e^4 \sqrt {\cos (c+d x)}}+\frac {4 a^7 (e \cos (c+d x))^{7/2}}{5 d e^7 (a-a \sin (c+d x))^3}-\frac {28 a^6 (e \cos (c+d x))^{3/2}}{5 d e^5 \left (a^2-a^2 \sin (c+d x)\right )} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 0.06 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.52 \[ \int \frac {(a+a \sin (c+d x))^4}{(e \cos (c+d x))^{7/2}} \, dx=\frac {8\ 2^{3/4} a^4 \operatorname {Hypergeometric2F1}\left (-\frac {7}{4},-\frac {5}{4},-\frac {1}{4},\frac {1}{2} (1-\sin (c+d x))\right ) (1+\sin (c+d x))^{5/4}}{5 d e (e \cos (c+d x))^{5/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(331\) vs. \(2(139)=278\).
Time = 8.64 (sec) , antiderivative size = 332, normalized size of antiderivative = 2.61
method | result | size |
default | \(-\frac {2 \left (128 \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-84 \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, E\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-128 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+84 \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, E\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+80 \left (\sin ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+16 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-21 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, E\left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-80 \left (\sin ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+12 \sin \left (\frac {d x}{2}+\frac {c}{2}\right )\right ) a^{4}}{5 \left (4 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-4 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+1\right ) \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {-2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) e +e}\, e^{3} d}\) | \(332\) |
parts | \(\text {Expression too large to display}\) | \(1165\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.11 (sec) , antiderivative size = 317, normalized size of antiderivative = 2.50 \[ \int \frac {(a+a \sin (c+d x))^4}{(e \cos (c+d x))^{7/2}} \, dx=-\frac {21 \, {\left (-i \, \sqrt {2} a^{4} \cos \left (d x + c\right )^{2} + i \, \sqrt {2} a^{4} \cos \left (d x + c\right ) + 2 i \, \sqrt {2} a^{4} + {\left (-i \, \sqrt {2} a^{4} \cos \left (d x + c\right ) - 2 i \, \sqrt {2} a^{4}\right )} \sin \left (d x + c\right )\right )} \sqrt {e} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right )\right ) + 21 \, {\left (i \, \sqrt {2} a^{4} \cos \left (d x + c\right )^{2} - i \, \sqrt {2} a^{4} \cos \left (d x + c\right ) - 2 i \, \sqrt {2} a^{4} + {\left (i \, \sqrt {2} a^{4} \cos \left (d x + c\right ) + 2 i \, \sqrt {2} a^{4}\right )} \sin \left (d x + c\right )\right )} \sqrt {e} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right )\right ) - 8 \, {\left (4 \, a^{4} \cos \left (d x + c\right )^{2} + 3 \, a^{4} \cos \left (d x + c\right ) - a^{4} - {\left (4 \, a^{4} \cos \left (d x + c\right ) + a^{4}\right )} \sin \left (d x + c\right )\right )} \sqrt {e \cos \left (d x + c\right )}}{5 \, {\left (d e^{4} \cos \left (d x + c\right )^{2} - d e^{4} \cos \left (d x + c\right ) - 2 \, d e^{4} + {\left (d e^{4} \cos \left (d x + c\right ) + 2 \, d e^{4}\right )} \sin \left (d x + c\right )\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {(a+a \sin (c+d x))^4}{(e \cos (c+d x))^{7/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {(a+a \sin (c+d x))^4}{(e \cos (c+d x))^{7/2}} \, dx=\int { \frac {{\left (a \sin \left (d x + c\right ) + a\right )}^{4}}{\left (e \cos \left (d x + c\right )\right )^{\frac {7}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {(a+a \sin (c+d x))^4}{(e \cos (c+d x))^{7/2}} \, dx=\int { \frac {{\left (a \sin \left (d x + c\right ) + a\right )}^{4}}{\left (e \cos \left (d x + c\right )\right )^{\frac {7}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(a+a \sin (c+d x))^4}{(e \cos (c+d x))^{7/2}} \, dx=\int \frac {{\left (a+a\,\sin \left (c+d\,x\right )\right )}^4}{{\left (e\,\cos \left (c+d\,x\right )\right )}^{7/2}} \,d x \]
[In]
[Out]